Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding basic tests w/ pytest regressions #227

Merged
merged 2 commits into from
Jul 20, 2020
Merged

Conversation

choldgraf
Copy link
Collaborator

@choldgraf choldgraf commented Jul 19, 2020

This adds a very basic testing framework that we can use to look at the HTML the theme generates. It uses pytest + pytest-regressions to check whether the HTML has changed in an unexpected way.

I've also enabled readthedocs PR preview builds so we can look at docs in a more simple way than using the circleci/github-action combo

note: the goal of this PR is not to exhaustively test the theme (which we should do), but to set up some infrastructure that others could easily expand as we want to iteratively improve tests, add features, etc.

cc @jorisvandenbossche who asked about this.

@choldgraf choldgraf merged commit 6443680 into pydata:master Jul 20, 2020
@choldgraf
Copy link
Collaborator Author

I'm gonna self-merge this in since I think it's a helpful first-step in doing more testing of our theme. I'm happy to answer questions or spot-check changes if others think of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant